body {
    padding-top: 1.2rem;
}

header {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 1.2rem;
    background-color: #ff3366;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 .22rem;

    .return {
        width: .12rem;
        height: .26rem;
    }

    h1 {
        font-size: .36rem;
        color: #fff;
        font-weight: normal;
        letter-spacing: 2px;
    }
}

main {
    // height: 10rem;
    overflow-y: scroll;
    padding-bottom: 1rem;

    .item {
        width: 100%;
        height: 2.9rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border-bottom: 1px solid #ebebeb;

        .box{
            width: 100%;
            height: 1.51rem;
            display: flex;
            // align-items: center;
            &>.left {
                width: 1.63rem;
                height: 100%;
                border-radius: .1rem;
                overflow: hidden;
    
                img {
                    width: 100%;
                    height: 100%;
                }
            }
    
            &>.right {
                flex-grow: 1;
                display: flex;
                flex-direction: column;
                padding-left: .46rem;
                justify-content: space-between;
                height: 100%;
                .top {
                    // width: 100%;
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
    
                    // margin-bottom: .18rem;
                    .name {
                        font-size: .36rem;
                        color: #333333;
                        font-weight: bold;
                    }
    
                    .info {
                        font-size: .26rem;
                        color: #333333;
                    }
                }
    
                .sales {
                    display: flex;
    
                    // margin-bottom: .28rem;
                    .star {
                        display: flex;
                        align-items: center;
                        font-size: .3rem;
                        color: #ff3366;
                        margin-right: .22rem;
    
                        img {
                            width: .3rem;
                            height: .3rem;
                        }
                    }
    
                    .num {
                        font-size: .26rem;
                        color: #666666;
                    }
                }
    
                .food_price {
                    // width: 100%;
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
    
                    .left {
                        font-size: .26rem;
                        color: #666666;
                    }
    
                    .right {
                        font-size: .3rem;
                        color: #333;
                        &::before{
                            content: '￥';
                            font-size: .24rem;
                            color: #666666;
                        }
                    }
                }
            }
        }
        .btn{
            display: flex;
            width: 100%;
            justify-content: flex-end;
            margin-top: .24rem;
            div{
                width: 1.69rem;
                height: .51rem;
                font-size: .28rem;
                margin: 0 .12rem;
                text-align: center;
                line-height: .51rem;
                letter-spacing: 2px;
                border-top-left-radius: .1rem;
                border-bottom-right-radius: .1rem;
            }
            .urge{
                background-color: #fff;
                border: .02rem solid #ff3366;
                color: #ff3366;
            }
            .logistics{
                background-color: #ff3366;
                color: #fff;
            }
        }
    }
}